PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.fonts.type1 Package / PDFType1Font Class / createWithPfmMetrics Method / createWithPfmMetrics(Stream,Stream,double,boolean) Method
pfm data stream.
pfb data stream.
Font size.
If true, the font will be embedded in the PDF file.
In This Topic
    createWithPfmMetrics(Stream,Stream,double,boolean) Method
    In This Topic
    Creates a Type1 font from a combination of .pfm and .pfb files.
    Syntax
    public static PDFType1Font createWithPfmMetrics( 
       Stream metricsStream,
       Stream fontStream,
       double size,
       boolean embed
    )

    Parameters

    metricsStream
    pfm data stream.
    fontStream
    pfb data stream.
    size
    Font size.
    embed
    If true, the font will be embedded in the PDF file.

    Return Value

    A Type1 font Object.
    See Also